home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / COMM / ICOM100A.ARJ / POSTDOWN.BAT < prev    next >
DOS Batch File  |  1991-09-20  |  2KB  |  39 lines

  1. Echo off
  2. rem  POSTDOWN.BAT is run -after- all automated Jobs complete, but only if the
  3. rem  following conditions are met:
  4. rem    1.  It must be found in the Intellicomm 'home directory' (where ICOM.EXE
  5. rem        is located, or where the ICOM environment variable points to).
  6. rem        Locating it on the PATH is not sufficient.
  7. rem    2.  There must have been at least one 'Get Files [Download]' requested
  8. rem        in the Job(s) selected for 'Run'ning.
  9. rem    3.  One or more files must be found in your Download Directory (assumes
  10. rem        there would be nothing to do were the directory empty).
  11. rem
  12. rem  Its intended purpose is to automatically carry out any routine maintenance
  13. rem  on newly downloaded files; such as calling a program which strips those
  14. rem  pesky archive comments, or adds a new pesky comment/ad of your own. (?)
  15. rem  If you have no use for this BAT, simply rename it to POSTDOWN.BAK and
  16. rem  it will not be called.
  17. rem
  18. rem  NOTE that you may also create PREDOWN.BAT to carry out any routine
  19. rem  maintenance BEFORE file transfers.
  20. rem
  21. rem  Also remember that Intellicomm has the ability to automatically move
  22. rem  -old- downloads into your Upload Directory for you, as soon as a Job
  23. rem  that requests new downloads is 'Run' (you needn't do so here, unless you
  24. rem  wish to move the files immediately -after- the downloads).  Toggle
  25. rem  'Move Downloads?' on the File Transfer Main Setup screen to enable this
  26. rem  feature.
  27. rem
  28. rem  Intellicomm performs a CHDIR to your Download Directory, and passes your
  29. rem  Download Directory to this BAT as %1, and the first directory on your
  30. rem  Upload Path as %2 (trailing slashes are auto-stripped from directory
  31. rem  names).  E.g. COPY *.* %2 copies all downloads to the first directory on
  32. rem  your Upload Path (%1 isn't needed in this command since Icom has already
  33. rem  performed a CHDIR to the Download Directory).
  34. rem
  35. Echo Rename POSTDOWN.BAT to POSTDOWN.BAK to bypass running of this file.
  36. rem
  37. rem Example command to strip archive comments:
  38. rem StripZIP *.ZIP
  39.